<?php

$sid = $_GET['sid'];
//echo "返回id = " . $sid;
require_once 'a1shujuku.php';
$sql = "SELECT * FROM girl WHERE id=$sid LINIT 1";
//调试
//echo $sql;
//die
$result = $conn->query($sql);
$rows = $result->fetch_array(MYSQLI_ASSOC);
//调试
//echo "<pre>"
//print_r($rows);
//die
$data = array();
$data['status'] = 1;
$data['info'] = $rows;
echo json_encode($data);